package cn.edu.nuc.onlinestore.vo;

import java.io.Serializable;

public class Result<T> implements Serializable {
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1787262599541803933L;
	
	private boolean code;
	private String msg;
	private T obj;
	
	
	
	public Result(boolean code,String msg,T obj)
	{
		this.code=code;
		this.msg=msg;
		this.obj=obj;
	}
	
	public boolean getCode() {
		return code;
	}
	public void setCode(boolean code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public T getObj() {
		return obj;
	}
	public void setObj(T obj) {
		this.obj = obj;
	}
	
	
	
	

}
